export default [
  { path: '/', redirect: '/menu/index', title: '首页' },
  {
    path: '/menu',
    exact: false,
    component: '@/layout',
    routes: [
      {
        extra: true,
        path: '/menu/index',
        component: '@/pages/Index',
        title: '首页',
      },
      {
        component: './404',
        layout: false,
      },
    ],
  },
  {
    path: '/login',
    component: '@/pages/Login',
    title: '登录',
    layout: false,
  },
  {
    component: './404',
    layout: false,
  },
];
